package com.hz.ruoyimqttconsume.mapper;

import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

/**
 * @author 侯文波
 * @date 2025/3/20 9:21
 * @description:
 */
@Repository
public interface EqCountMapper {

    /**
     * 设备数量
     * @param equipmentType
     * @return
     */
    @Select("select count(*) from agr_equipment where equipment_type = #{equipmentType}")
    int eqCount(String equipmentType);
}
